package com.orange.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.orange.eduservice.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.orange.eduservice.query.TeacherQuery;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author orange
 * @since 2021-12-12
 */
public interface EduTeacherService extends IService<EduTeacher> {
    void pageQuery(Page<EduTeacher> pageParam, TeacherQuery teacherQuery);
    //查询前4张热门讲师
    List<EduTeacher> selectHotTeacher();
    //前台系统分页查询讲师
    Map<String, Object> getTeacherFrontPageList(Page<EduTeacher> teacherPage);
}
